setupStep1.modelNum             = modelNum;
setupStep1.selectTheta1         = fieldnames(theta1);
setupStep1.yields               = loadData.yieldsOut(2:end,2:end);
setupStep1.macros               = [loadData.infl loadData.ygap];
setupStep1.rLag                 = [loadData.crspRiskFree_h1(1,1);loadData.crspRiskFree_h1(1:end-1,1)]/12;
setupStep1.timeIndex            = datestr(loadData.yieldsOut(2:end,1));
setupStep1.matSelect            = loadData.yieldsOut(1,2:end);
setupStep1.nm                   = nm;
setupStep1.nn                   = nn;
setupStep1.lambda               = lambda;
setupStep1.factorSignResOn      = factorSignResOn;
setupStep1.tolFunNLSfactors     = tolFunNLSfactors;
setupStep1.calibrateTheta1      = calibrateTheta1Step1;
setupStep1.upperBoundsValues    = struc2values(upperBounds,setupStep1.selectTheta1);
setupStep1.lowerBoundsValues    = struc2values(lowerBounds,setupStep1.selectTheta1);
setupStep1.InsigmaValues        = struc2values(Insigma,setupStep1.selectTheta1);
setupStep1.wD                   = bandwidthD;
setupStep1.wT                   = bandwidthT;
setupStep1.AVarAdjThetaOn       = AVarAdjThetaOn;
setupStep1.AVarTheta1On         = AVarTheta1On;
setupStep1.numBootStep1And3     = 0;
setupStep1.econAct              = loadData.econ;
setupStep1.NBERrec              = loadData.NBERrec;
setupStep1.MultProcessOn        = MultProcessOn;
setupStep1.numCPUs              = numCPUs;
